package com.source.lightfowl.basedata.service;

import com.source.lightfowl.basedata.entity.Poultry_Parent;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description:
 * @Author: Faink
 * @CreateTime: 2020/10/27 19:51
 */
public interface PoultryParentService extends UploadExcelService {
    //1.增 或者改
    int save(Poultry_Parent parent);

    void deleteById(String id);

    int updateById(Poultry_Parent poultry_parent);

    List<Poultry_Parent> findAll();

    Poultry_Parent findOne(String id);

    //上传，增
    void save(List<Object> list, HttpServletRequest request);
    //上传，查
    List<Object> findAllDTO();
}
